local tuodao = fk.CreateSkill{
    name = "lingling__tuodao",
}
Fk:loadTranslationTable{
    ["lingling__tuodao"] = "拖刀",
    [":lingling__tuodao"] = "出牌阶段结束时，你可以将两张牌当一张【杀】使用。",
    ["#lingling__tuodao-use"] = "拖刀：你可以将两张牌当一张【杀】使用",

    ["$lingling__tuodao1"] = "刀锋所向，战无不克！",
    ["$lingling__tuodao2"] = "逆贼，哪里走！",
}
tuodao:addEffect(fk.EventPhaseEnd,{
    anim_type = "offensive",
    can_trigger = function (self, event, target, player, data)
        return target == player and player.phase == Player.Play and player:hasSkill(tuodao.name)
    end,
    on_cost = function(self, event, target, player, data)
        local room = player.room
        local use = room:askToUseVirtualCard(player, {
            name = "slash",
            skill_name = tuodao.name,
            prompt = "#lingling__tuodao-use",
            cancelable = true,
            card_filter = {
                n = 2,
            },
            skip = true,
        })
        if use then
            event:setCostData(self, {extra_data = use})
            return true
        end
    end,
    on_use = function(self, event, target, player, data)
        local room = player.room
        local use = table.simpleClone(event:getCostData(self).extra_data)
        room:useCard(use)
    end,
})
return tuodao